package com.server.rule.engine;

import com.server.rule.config.RuleConfiguration;
import com.server.rule.protocolInfo.Message;
import lombok.extern.slf4j.Slf4j;


/**
 * Description: This is a sample class.
 * @Author Simon
 */
@Slf4j
public final class RuleBootStrap {
    // 规则配置
    private RuleConfiguration configuration;

    public void setConfiguration(RuleConfiguration configuration){
        this.configuration=configuration;
    }

    public RuleConfiguration getConfiguration(){
        if (configuration==null){
            log.info("规则文件配置错误！");
        }
        return configuration;
    }

    public void doRuleEngine(Message<?> message){

    }
}
